################################################
#
# Events for France
#
# ID 10000 - 19999 is reserved
#
#
#################################################
#
# Written by Sara Wendel-rtqvist

### Coronation of Napoleon as King of Italy ###
country_event = {
	id = 10000
	title = "EVTNAME10000"
	desc = "EVTDESC10000"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		exists = KOI
		KOI = {
			vassal_of = FRA
		}
		NOT = { has_country_flag = KOI_corronation_one }
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10000"
		prestige = 10
		set_country_flag = KOI_corronation_one
		KOI = { manpower = 0.15 }
		relation = {
			who = AUS
			value = -25
		}
	}
}


### The spy Carl Schulmeister ###
country_event = {
	id = 10010
	title = "EVTNAME10010"
	desc = "EVTDESC10010"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		war_with = AUS
	}
	
	mean_time_to_happen = {
		months = 500
	}
	
	option = {
		name = "EVTOPT_OK"
		AUS = {
			remove_fow = 3 #FOW disappears from AUS for 3 months
			country_event = 30080
		}
	}
}

### A new Catechism ###
country_event = {
	id = 10020
	title = "EVTNAME10020"
	desc = "EVTDESC10020"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		year = 1806
		NOT = {
			has_country_flag = new_catechism
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		set_country_flag = new_catechism
		any_country = {
			limit = {
				prestige = 5
			}
			relation = {
				who = FRA
				value = -5
			}
		}
	}
}

### Matrimonial Coalition with Baden ###
country_event = {
	id = 10030
	title = "EVTNAME10030"
	desc = "EVTDESC10030"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		year = 1806
		exists = BAD
		overlord_of = BAD
		NOT = {
			alliance_with = BAD
		}
		NOT = {
			war_with = BAD
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		create_alliance = BAD
		relation = { who = BAD value = 100 }
		BAD = { relation = { who = FRA value = 100 } }
		BAD = {
			relation = { who = AUS value = -100 }
			relation = { who = PRU value = -100 }
			relation = { who = SWE value = -100 }
			relation = { who = TUR value = -100 }
			relation = { who = GBR value = -100 }
			relation = { who = RUS value = -100 }
			relation = { who = SPA value = -100 }
		}
	}
}

### The Imperial University ###
country_event = {
	id = 10040
	title = "EVTNAME10040"
	desc = "EVTDESC10040"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1806
		NOT = {
			has_country_flag = imperial_university
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		idea_points = 50
		set_country_flag = imperial_university
	}
}

### Napoleon's love in Poland ###
country_event = {
	id = 10050
	title = "EVTNAME10050"
	desc = "EVTDESC10050"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1807
		783 = { #Warszawa
			controlled_by = FRA
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		if = {
			limit = {
				exists = POL
				alliance_with = POL
			}
			POL = {
				manpower = 0.015
			}
		}
		if = {
			limit = {
				NOT = {
					exists = POL
				}
				NOT = {
					alliance_with = POL
				}
			}
			prestige = 5
		}
	}
}

### Disaster in Luxembourg ###
country_event = {
	id = 10060
	title = "EVTNAME10060"
	desc = "EVTDESC10060"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1807
		any_owned_province = {
			province_id = 417
			controlled_by = FRA
			417 = {
				has_building = depot1
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10060"
		417 = {
			if = {
				limit = {
					has_building = depot1
				}
				remove_building = depot1
			}
		}
		if = {
			limit = {
				417 = {
					NOT = {
						has_building = depot1
					}
				}
			}
			add_country_modifier = {
				name = gunpowder_explosion
				duration = 365
			}
		}
	}
}

### Open insurrection in Istria ###
country_event = {
	id = 10070
	title = "EVTNAME10070"
	desc = "EVTDESC10070"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1807
		667 = {
			OR = {
				controlled_by = FRA
				revolt_risk = 60
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10070"
		667 = {
			revolt_risk = 10
		}			
	}
}

### Talleyrand resigns ###
country_event = {
	id = 10080
	title = "EVTNAME10080"
	desc = "EVTDESC10080"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		year = 1807
		NOT = {
			has_country_modifier = talleyrand_resigns
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = talleyrand_resigns
			duration = 365
		}
	}
}

### Dissolution of the Teutonic Order ###
country_event = {
	id = 10090
	title = "EVTNAME10090"
	desc = "EVTDESC10090"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1809
		491 = {
			controller = {
				alliance_with = FRA
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		491 = {
			revolt_risk = 60
		}
	}
}

### Pius VII arrested ###
country_event = {
	id = 10100
	title = "EVTNAME10100"
	desc = "EVTDESC10100"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		year = 1809
		NOT = { exists = PAP }
		370 = {
			controlled_by = FRA
		}
	}
	
	mean_time_to_happen = {
		months = 120
		
		modifier = {
			factor = 0.5
			370 = {
				has_siege = no
			}
		}
		modifier = {
			factor = 3
			370 = {
				has_siege = yes
			}
		}
	}
	
	option = {
		name = "EVTOPTA10100"
		370 = {
			random_list = {
				40 = {}
				30 = {
					revolt_risk = 25
				}
				20 = {
					create_revolt = 1
				}
				10 = {
					revolt_risk = 50
				}
			}
		}
	}
}

### Assassination attempt against Napoleon ###
country_event = {
	id = 10110
	title = "EVTNAME10110"
	desc = "EVTDESC10110"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1809
		OR = {
			655 = {
				controlled_by = FRA
			}
			war_with = AUS
			alliance_with = AUS
			truce_with = AUS
		}
	}
	
	mean_time_to_happen = {
		days = 365
		
		modifier = {
			factor = 0.5
			655 = {
				revolt_risk = 20
			}
		}
		modifier = {
			factor = 0.5
			alliance_with = AUS
		}
		modifier = {
			factor = 2
			war_with = AUS
		}
	}
	
	option = {
		name = "EVTOPTA10110"
		prestige = 20
	}
}

### Restoration of censorship ###
country_event = {
	id = 10120
	title = "EVTNAME10120"
	desc = "EVTDESC10120"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		war = yes
		war_exhaustion = 20
		year = 1810
	}
	
	mean_time_to_happen = {
		days = 365
		
		modifier = {
			factor = 0.5
			FRA = { war_with = GBR }
		}
	}
	
	option = {
		name = "EVTOPT_OK"
		war_exhaustion = -10
	}
}

### Annexation of Holland ###
country_event = {
	id = 10130
	title = "EVTNAME10130"
	desc = "EVTDESC10130"
	
	is_triggered_only = yes
	
	major = yes # Broadcast to all nations
	
	option = {
		name = "EVTOPT_OK"
		prestige = 10
	}
}

### Napoleon II is born ###
country_event = {
	id = 10140
	title = "EVTNAME10140"
	desc = "EVTDESC10140"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		year = 1811
		NOT = {
			has_country_flag = napoleon_II_flag
		}
		has_country_flag = imperial_wedding_flag
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10140"
		set_country_flag = napoleon_II_flag
		relation = {
			who = AUS
			value = 25
		}
		AUS = {
			relation = {
				who = FRA
				value = 25
			}
		}
	}
}

### The Fire of Moscow ###
country_event = {
	id = 10150
	title = "EVTNAME10150"
	desc = "EVTDESC10150"
	
	fire_only_once = yes
	
	major = yes # Broadcast to all nations
	
	trigger = {
		tag = FRA
		war_with = RUS
		1635 = {
			controlled_by = FRA
			NOT = {
				has_province_modifier = moscow_fire
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10150"
		set_global_flag = moscow_kremlin_flag
		1635 = {
			add_province_modifier = {
				name = moscow_fire
				duration = 365
			}
		}
	}
}

### Pyrolophore ### +tech
country_event = {
	id = 10160
	title = "EVTNAME10160"
	desc = "EVTDESC10160"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		total_ideas = 4
		year = 1807
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10160"
		idea_points = 50
	}
}

### Nicolas Appert - Food preservation ###
country_event = {
	id = 10170
	title = "EVTNAME10170"
	desc = "EVTDESC10170"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1810
		total_ideas = 4
		NOT = {
			has_country_modifier = bottled_food
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10170"
		add_country_modifier = {
			name = bottled_food
			duration = 1825
		}
	}
}

### A new king of Holland? ###
country_event = {
	id = 10180
	title = "EVTNAME10180"
	desc = "EVTDESC10180"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1806
		exists = NED
		NED = {
			vassal_of = FRA
		}
		NOT = {
			year = 1810
		}
		NED = {
			NOT = {
				has_country_flag = king_louis_bonaparte_flag
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA10180"
		NED = {
			set_country_flag = king_louis_bonaparte_flag
			set_country_flag = louis_flag
			government = enlightened_despotism
			country_event = 10181
		}
	}
	option = {
		name = "EVTOPTB10180"
		prestige = 10
	}
}

### Louis Bonaparte, King of Holland ###
country_event = {
	id = 10181
	title = "EVTNAME10181"
	desc = "EVTDESC10181"
	
	is_triggered_only = yes
	
	major = yes
	
	option = {
		name = "EVTOPTA10181"
		prestige = 50
		add_leader = 41002
		define_ruler = {
			ADM = 5
			DIP = 5
			MIL = 5
			name = "Lodewijk I"
			picture = "NED_Lodevig_Bonaparte"
		}
	}
}

### Dispute between the Emperor and the King of Holland ###
country_event = {
	id = 10190
	title = "EVTNAME10190"
	desc = "EVTDESC10190"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		war_with = RUS
		NED = { has_country_flag = king_louis_bonaparte_flag }
		NOT = {	has_global_flag = annex_holland_flag }
	}
	
	mean_time_to_happen = {
		days = 365
		
		modifier = {
			factor = 0.8
			year = 1808
		}
		modifier = {
			factor = 0.8
			year = 1809
		}
		modifier = {
			factor = 0.8
			year = 1810
		}
	}
	
	option = {
		name = "EVTOPT_OK"
		clr_country_flag = king_louis_bonaparte_flag
		NED = {
			relation = {
				who = FRA
				value = -10
			}
			add_leader = 24046
			remove_leader = 41002
			define_ruler = {
				name = "Napoleon Bonaparte"
				picture = "FRA_NapoleonI"
				MIL = 9
				DIP = 7
				ADM = 9
			}
		}
		relation = {
			who = NED
			value = -10
		}
	}
}

### Elisa Bonaparte ###
country_event = {
	id = 10200
	title = "EVTNAME10200"
	desc = "EVTDESC10200"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1810
		364 = {
			OR = {
				controlled_by = FRA
				owner = {
					vassal_of = FRA
				}
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		364 = {
			revolt_risk = 10
		}
	}
}

### New King of Naples? ###
country_event = {
	id = 10210
	title = "EVTNAME10210"
	desc = "EVTDESC10210"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1806
		exists = NAP
		NAP = {
			vassal_of = FRA
			NOT = {
				has_country_flag = king_joseph_bonaparte_flag
			}
		}
		NOT = {
			SPA = {
				has_country_flag = king_joseph_bonaparte_flag
			}
		}
	}
	
	mean_time_to_happen = {
		days = 180
	}
	
	option = {
		name = "EVTOPTA10210"
		prestige = 5
		NAP = {
			set_country_flag = king_joseph_bonaparte_flag
			country_event = 10211
			relation = {
				who = FRA
				value = 25
			}
		}
	}
	option = {
		name = "EVTOPTB10210"
		
	}
}

### Joseph Bonaparte, King of Naples ###
country_event = {
	id = 10211
	title = "EVTNAME10211"
	desc = "EVTDESC10211"
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPT_OK"
		prestige = 25
		add_leader = 38017
		define_ruler = {
			name = "Joseph Bonaparte"
			picture = "NAP_Joseph_Bonaparte"
			MIL = 4
			DIP = 7
			ADM = 6
		}
	}
}

### King of Spain ###
country_event = {
	id = 10220
	title = "EVTNAME10220"
	desc = "EVTDESC10220"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		SPA = {
			vassal_of = FRA
			NOT = {
				has_country_flag = king_joseph_bonaparte_flag
			}
		}
		NAP = {
			NOT = {
				has_country_flag = king_joachim_murat_flag
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
		
		modifier = {
			factor = 0.1
			has_country_flag = king_ferdinand_flag
		}
	}
	
	option = {
		name = "EVTOPTA10220" #Joseph Bonaparte, king of Spain
		prestige = 5
		SPA = {
			set_country_flag = spa_king_joseph_bonaparte_flag
			tooltip = {
				random_owned = {
					limit = {
						controlled_by = FRA
					}
					revolt_risk = 20
				}
			}
			country_event = 60050
		}
		NAP = {
			clr_country_flag = king_joseph_bonaparte_flag
			set_country_flag = king_joachim_murat_flag
		}
	}
	option = {
		name = "EVTOPTB10220" #Joachim Murat, king of Spain
		prestige = 5
		SPA = {
			set_country_flag = spa_king_joachim_murat_flag
			tooltip = {
				random_owned = {
					limit = {
						controlled_by = FRA
					}
					revolt_risk = 20
				}
			}
			country_event = 60051
		}
		country_event = 10221
	}
	option = {
		name = "EVTOPTC10220" #Napoleon Bonaparte, king of Spain
		SPA = {
			set_country_flag = spa_napoleon_bonaparte_flag
			tooltip = {
				random_owned = {
					limit = {
						controlled_by = FRA
					}
					revolt_risk = 20
				}
			}
			country_event = 60052
		}
	}
}

### Joachim Murat, King of Naples ###
country_event = {
	id = 10221
	title = "EVTNAME10221"
	desc = "EVTDESC10221"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPT_OK"
		prestige = 5
		NAP = {
			clr_country_flag = king_joseph_bonaparte_flag
			set_country_flag = king_joachim_murat_flag
			add_leader = 38023
			remove_leader = 38017
			define_ruler = {
				name = "Joachim Murat"
				picture = "NAP_Joachim_Murat"
				MIL = 6
				DIP = 6
				ADM = 8
			}
		}
		NDS = {
			set_country_flag = king_joachim_murat_flag
		}
	}
}

### Pauline Bonaparte ###
country_event = {
	id = 10230
	title = "EVTNAME10230"
	desc = "EVTDESC10230"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1806
		NOT = {
			year = 1808
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		prestige = -5
	}
}

### Caroline Bonaparte ###
country_event = {
	id = 10240
	title = "EVTNAME10240"
	desc = "EVTDESC10240"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		NOT = {
			year = 1815
		}
		has_country_flag = napoleon_II_flag
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		prestige = -5
	}
}

### Lucien Bonaparte ###
country_event = {
	id = 10250
	title = "EVTNAME10250"
	desc = "EVTDESC10250"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1809
		NOT = {
			year = 1812
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		prestige = -5
	}
}

### New King of Westphalia? ###
country_event = {
	id = 10260
	title = "EVTNAME10260"
	desc = "EVTDESC10260"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1807
		NOT = {
			year = 1813
		}
		exists = WES
		WES = {
			vassal_of = FRA
		}
		WES = {
			NOT = {
				has_country_flag = king_jerome_bonaparte_flag
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10260"
		prestige = 5
		WES = {
			set_country_flag = king_jerome_bonaparte_flag
			country_event = 10261
		}
	}
	option = {
		name = "EVTOPTB10260"
		WES = {
			define_ruler = {
				name = "Napoleon Bonaparte"
				picture = "FRA_NapoleonI"
				MIL = 9
				DIP = 7
				ADM = 9
			}
		}
	}
}

#Jrme Bonaparte, King of Westphalia
country_event = {
	id = 10261
	title = "EVTNAME10261"
	desc = "EVTDESC10261"
	
	major = yes
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPT_OK"
		prestige = 10
		add_leader = 66003
		define_ruler = {
			name = "Jrme Bonaparte"
			picture = "WES_Jerome_Bonaparte"
			MIL = 5
			DIP = 5
			ADM = 5
		}
	}
}

### Eugne de Beauharnais, Napoleon's adopted son ###
country_event = {
	id = 10270
	title = "EVTNAME10270"
	desc = "EVTDESC10270"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1806
		NOT = {
			year = 1811
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPT_OK"
		prestige = 20
	}
}

### Request to restore the Dutch throne to Louis Bonaparte ###
country_event = {
	id = 10280
	title = "EVTNAME10280"
	desc = "EVTDESC10280"
	
	fire_only_once = yes
	
	trigger = {
		tag = FRA
		year = 1813
		exists = NED
		NOT = {
			year = 1815
		}
		has_global_flag = annex_holland_flag
		NED = {
			has_country_flag = louis_flag
			vassal_of = FRA
			NOT = {
				has_country_flag = king_louis_bonaparte_flag
			}
		}
	}
	
	mean_time_to_happen = {
		days = 365
	}
	
	option = {
		name = "EVTOPTA10280"
		prestige = 5
	}
	option = {
		name = "EVTOPTB10280"
		NED = {
			add_leader = 41002
			define_ruler = {
				ADM = 6
				DIP = 7
				MIL = 6
				name = "Louis Bonaparte"
				picture = "NED_Lodevig_Bonaparte"
			}
		}
	}
}

#Confederation of the Rhine: FRA asks members of HRE to join
country_event = {
	id = 10290
	title = "EVTNAME10290"
	desc = "EVTDESC10290"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPT_OK"
		BAD = {
			country_event = 10301
		}
		BRU = {
			country_event = 10301
		}
		BAV = {
			country_event = 10301
		}
		BER = {
			country_event = 10301
		}
		HES = {
			country_event = 10301
		}
		SAX = {
			country_event = 10301
		}
		WES = {
			country_event = 10301
		}
		WUR = {
			country_event = 10301
		}
		NAS = {
			country_event = 10301
		}
		MEK = {
			country_event = 10301
		}
		OLD = {
			country_event = 10301
		}
	}
}

#Members of HRE answers
country_event = {
	id = 10301
	title = "EVTNAME10301"
	desc = "EVTDESC10301"
	
	is_triggered_only = yes
	
	option = {
		name = "EVTOPTA10301" #Yes
		ai_chance = {
			factor = 90
		}
		if = {
			limit = {
				NOT = {
					tag = HRE
				}
			}
			any_owned = {
				secede_province = RHC
			}
			release_vassal = RHC
		}
		if = {
			limit = {
				tag = HRE
			}
			RHC = {
				inherit = HRE
				release_vassal = RHC
			}
		}
	}
	option = {
		name = "EVTOPTB10301" #No
		ai_chance = {
			factor = 10
		}
		set_country_flag = refused_confederation_rhine
		relation = {
			who = FRA
			value = -30
		}
	}
}

# Imperial wedding ###
country_event = {
	id = 10300
	title = "EVTNAME10300" 
	desc = "EVTDESC10300"
	
	major = yes # Broadcast to all nations
	fire_only_once = yes

	trigger = { 
		tag = FRA
		year = 1810
		NOT = { war_with = AUS }
		NOT = {
			has_country_flag = napoleon_II_flag
		}
		NOT = {
			has_country_flag = imperial_wedding_flag
		}
 	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		set_country_flag = imperial_wedding_flag
		AUS = {
			relation = {
				who = FRA
				value = 20
			}
		}
		relation = {
			who = AUS
			value = 20
		}
	}
}

# Failed assassination attempt against Napoleon ###
country_event = {
	id = 10310
	title = "EVTNAME10310" 
	desc = "EVTDESC10310"
	#picture = "Event-img_FRA_FailedAssassination1806"
	
	major = yes # Broadcast to all nations
	fire_only_once = yes

	trigger = {
		tag = FRA
		war = yes
		year = 1806
		NOT = {
			year = 1810
		}
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		prestige = 15
	}
}

### A Prussian double agent ###
country_event = {
	id = 10320
	title = "EVTNAME10320" 
	desc = "EVTDESC10320"
	
	major = yes # Broadcast to all nations
	fire_only_once = yes

	trigger = {
		tag = FRA
		war_with = PRU
		year = 1806
		PRU = {
			any_owned_province = {
				controlled_by = FRA
			}
		}
	}
	
	mean_time_to_happen = {
		months = 1000
	}

	option = {
		name = "EVTOPT_OK"
		prestige = 10
		GBR = {
			manpower = 0.1
		}
	}
}

### Palais des Beaux-Arts de Lille ###
country_event = {
	id = 10325
	title = "EVTNAME10325" 
	desc = "EVTDESC10325"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1809
		314 = { #Lille
			owned_by = FRA
			controlled_by = FRA
		}
		NOT = {
			has_country_modifier = palais_lille
		}
	}
	
	mean_time_to_happen = {
		months = 1000
	}

	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = palais_lille
			duration = 365
		}
	}
}

### Sret Nationale ###
country_event = {
	id = 10330
	title = "EVTNAME10330" 
	desc = "EVTDESC10330"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1813
		NOT = {
			has_country_modifier = surete_nationale
		}
		any_owned_province = {
			pure_revolt_risk = 25
		}
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = surete_nationale
			duration = 365
		}
	}
}

### Ellinoglosso Xenodocheio ###
country_event = {
	id = 10335
	title = "EVTNAME10335" 
	desc = "EVTDESC10335"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		307 = { #Paris
			owned_by = FRA
			controlled_by = FRA
		}
		TUR = {
			has_country_modifier = filiki_eteria
		}
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPTA10335"
		TUR = {
			relation = {
				who = GBR
				value = -20
			}
		}
	}
	
	option = {
		name = "EVTOPTB10335"
		307 = { #Paris
			revolt_risk = 10
		}
		TUR = {
			relation = {
				who = GBR
				value = 10
			}
		}
	}
}

### Antoine-Augustin Parmentier ###
country_event = {
	id = 10340
	title = "EVTNAME10340" 
	desc = "EVTDESC10340"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1813
		total_ideas = 10
		truce_with = PRU
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = potatoes
			duration = 365
		}
	}
}

### Great Cipher ###
country_event = {
	id = 10345
	title = "EVTNAME10345" 
	desc = "EVTDESC10345"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1811
		war_with = GBR
		NOT = {
			has_country_modifier = great_cipher
		}
		idea = napoleonic_genius
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = great_cipher
			duration = 365
		}
	}
}

### Arc de Triomphe du Carrousel ###
country_event = {
	id = 10350
	title = "EVTNAME10350" 
	desc = "EVTDESC10350"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1808
		total_ideas = 10
		#idea = ?
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = arc_triomphe_carrousel
			duration = 365
		}
	}
}

### Mosasaurus ###
country_event = {
	id = 10355
	title = "EVTNAME10355" 
	desc = "EVTDESC10355"
	
	fire_only_once = yes

	trigger = {
		tag = FRA
		year = 1808
		427 = { #Maastricht
			OR = {
				controlled_by = FRA
				AND = {
					controlled_by = NED
					NED = {
						vassal_of = FRA
					}
				}
			}
		}
		total_ideas = 10
	}
	
	mean_time_to_happen = {
		months = 120
	}

	option = {
		name = "EVTOPT_OK"
		idea_points = 20
	}
}
